namespace soccer {
    export class GameProxy extends hjc.Proxy {
        public static Ins: GameProxy
        constructor() {
            super()
            GameProxy.Ins = this
        }

        private _tapAPos: helper.Pos
        private _tapBPos: helper.Pos
        private _ballBPos: helper.Pos

        public get tapAPos(): helper.Pos { return this._tapAPos }
        public get tapBPos(): helper.Pos { return this._tapBPos }
        public get ballBPos(): helper.Pos { return this._ballBPos }

        public updateTapPos(posA, posB, ball: helper.Pos) {
            this._ballBPos = ball
            this._tapAPos = posA
            this._tapBPos = posB
            game.notify(notify.UpdatePos)
        }
    }
}